package com.SmartCampus.system.model.dto.score;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 成绩更新请求
 *
 * @author wangliang
 */
@Data
public class ScoreUpdateRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 唯一标识
     */
    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id", required = true)
    private Long id;
    /**
     * 成绩
     */
    @ApiModelProperty(value = "成绩")
    private BigDecimal score;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;
}